const CracoLessPlugin = require("craco-less");
const path = require("path");
module.exports = {
    plugins:[{
        plugin:CracoLessPlugin
    }],
    webpack:{
        alias:{
            "@":path.resolve(__dirname,"./src")
        }
    },
    devServer:{
        proxy:{
          "/path":{
            target:"https://api.github.com/",
            changeOrigin:true,
            pathRewrite:{
              "^/path":"",
            }
          }
        }
      }
}